{template 'header'}
<script type="text/javascript">var module_id= {$moduleid},item_id={$itemid},content_id='content',img_max_width={$MOD[max_width]};</script>
<div class="main w1190">
<div class="Bread_box">
    <div class="up_low">
            <div class="pn_brand">
                <em>上一个品牌</em><!--{php $tagx=tag("moduleid=$moduleid&condition=status=3 and addtime<$addtime&areaid=$cityid&pagesize=1&order=addtime desc&template=null");}-->

                 {loop $tagx $i $r}
                <a href="{$r[linkurl]}" target="_blank" title="{$r[title]}" id="outs">{$r[title]}</a>
                <div class="pn_brand_logo" style="height: 50px; display: none;" hidden="true" id="div1">
                    <a  href="{$r[linkurl]}" target="_blank" title="{$r[title]}">
                        <img alt="{$r[alt]}" src="{$r[thumb]}" width="165" height="50" /></a>
                </div>
                {/loop}
            </div>
                    <div class="pn_brand">
                <em>下一个品牌</em><!--{php $tagx=tag("moduleid=$moduleid&condition=status=3 and addtime>$addtime&areaid=$cityid&pagesize=1&order=addtime asc&template=null");}-->
                 {loop $tagx $i $r}
                <a href="{$r[linkurl]}" target="_blank" title="{$r[title]}" id="outs2">{$r[title]}</a>
                <div class="pn_brand_logo" style="height: 50px; display: none;" hidden="true" id="div2">
                    <a  href="{$r[linkurl]}" target="_blank" title="{$r[title]}">
                        <img alt="{$r[alt]}" src="{$r[thumb]}" width="165" height="50" /></a>
                </div>
                {/loop}
            </div>
    </div>
    <div class="blkBread">
        <ul>
            <li>目前的位置：</li>
            <li><a href="{$MODULE[1][linkurl]}">首页</a></li>
            <li><a href="{$MOD[linkurl]}">{$MOD[name]}</a></li>
            <li>{cat_pos($CAT, ' > ')}</li>
            <li>{$title}</li>
        </ul>
    </div>
    <div class="cl_fy">
        分类：<span><a href="{$CAT[linkurl]}">{$CAT[catname]}</a></span>
    </div>
</div>
<div class="brand_bor">
    <div class="crumbLogo">
        <div class="logo">
            <img src="{$thumb}" />
        </div>
        <b id="title"><a href="{$member[linkurl]}" target="_blank">{$title}</a></b>
        <div class="like_jion">
            <span class="jion"><a href="{$MOD[linkurl]}{rewrite('message.php?itemid='.$itemid)}" target="_blank">加盟</a></span>
            <span class="like"><a href="javascript:SendFav();">喜欢</a></span>
            <span class="ji"><a href="javascript:SendPage();">推荐</a></span>
            <span class="jb"><a href="javascript:SendReport();">举报</a></span>（<label>{$hits}</label>人气）
        </div>
        <div class="award_winning">
{if $level} 
<a href="{$MODULE[2][linkurl]}" target="_blank"><img src="{DT_SKIN}caiimg/btj.png" title="品牌琅琊榜" /></a>
{else}
<a href="{$MODULE[2][linkurl]}" target="_blank"><img src="{DT_SKIN}caiimg/bt.png" title="品牌推荐榜" /></a>
{/if}
        </div>
    </div>
</div>
<div class="sing_nav">
    <ul>
        <li><a href="{$member[linkurl]}" class="active">首页</a></li>
        <li><a href="{$member[linkurl]}" target="_blank">企业网站</a></li>
        <li><a href="{userurl($username, 'file=sell')}" target="_blank">产品展示</a></li>
        <li><a href="{userurl($username, 'file=photo')}" target="_blank">企业相册</a></li>
        <li><a href="{userurl($username, 'file=introduce')}" target="_blank">企业介绍</a></li>
        <li><a href="{userurl($username, 'file=brand')}" target="_blank">更多加盟</a></li>
        <li><a href="{userurl($username, 'file=info')}" target="_blank">代理招商</a></li>
        <li><a href="{userurl($username, 'file=contact')}" target="_blank">联系我们</a></li>
    </ul>
</div>
 
  
    <div class="brand_main">
        <div class="main_left">
            <div class="m_first">
                <div class="contact">
                    <div class="pic">
                        <img  width="265" height="80" alt="{$alt}" title="{$alt}" src="{$thumb}" />
                    </div>
                    <dl>
                        <dt>品牌：</dt>
                        <dd>{$title}</dd>
                        <dt>电话：</dt>
                        <dd>{anti_spam($telephone)}</dd>
                         <dt>Q Q：</dt>
                        <dd>{if $qq}<a href="tencent://message/?uin={$qq}&Site={$title}&Menu=yes" rel="nofollow"><img src="http://wpa.qq.com/pa?p=1:{$qq}:17" width="25" height="17" title="点击QQ交谈/留言" alt=""/> {$qq}</a>{else}未填{/if}</dd>
                    </dl>
                </div>
                <div class="attrib">
                <div class="hd"><a href="{$member[linkurl]}brand/" class="more">查看更多品牌信息</a><b>品牌信息</b></div>

                    <dl>
<dt>品牌名称</dt>
<dd id="title">{$title}</dd>
<dt>公司名称</dt>
<dd>{$company}</dd>
<dt>官方主页</dt>
<dd>{if $homepage}<a href="{$homepage}" target="_blank">{$homepage}</a>{else}暂无{/if}</dd>
<dt>所在地区</dt>
<dd>{area_pos($areaid, '')}</dd>
<dt>联 系 人：</dt>
<dd>{$truename}</dd>
<dt>手机号码：</dt>
<dd>{anti_spam($mobile)}</dd>
<dt>浏览次数</dt>
<dd><span id="hits">{$hits}</span></dd>
<dt>更新日期</dt>
<dd>{$editdate}</dd>
                    </dl>
                </div>
            </div>
            <div class="m_second">
                <div class="hd"><b>品牌介绍</b></div>
                {if $CP}{template 'property', 'chip'}{/if}
                <div class="brand_introd" id="content"> {$content}  </div>
            </div>
            <div class="m_second">
                <div class="hd"><a href="{$member[linkurl]}sell/" class="more" target="_blank">更多</a><b>产品展示</b></div>
                <div class="brand_product">
               <!--{php $tagx=tag("moduleid=5&condition=status=3 and username='$username'&pagesize=10&order=addtime desc&template=null");}-->
                    <ul>
                     {loop $tagx $i $r}
                     <li>
                     <div class="pic">
                                    <a href="{$r[linkurl]}" target="_blank" title="{$r[alt]}">
                     <img src="{$r[thumb]}" width="150" height="150" alt="{$r[alt]}"></a>
                                </div>
                                <p><a href="{$r[linkurl]}" target="_blank" title="{$r[alt]}">{$r[title]}</a></p>
                            </li>
                     {/loop}
                    </ul>
                </div>
            </div>

{template 'comment-brand', 'chip'}

        </div>
<div class="main_right">
    <div class="Rec_brand">
        <div class="hd">同类品牌推荐</div>
        <!--{php $tagx=tag("moduleid=$moduleid&condition=status=3&catid=$catid&areaid=$cityid&pagesize=10&order=addtime desc&length=28&template=null");}-->
        <ul class="clearfix">
        {loop $tagx $i $r}
                        <li>
                    <a href="{$r[linkurl]}" target="_blank" class="logo" title="{$r[title]}">
                        <img alt="{$r[alt]}" src="{$r[thumb]}" width="110" height="55" />
                        <p>{$r[title]}<br/>加盟代理</p>
                    </a>
                </li>
              {/loop}
        </ul>
    </div>
    <div class="hot_brand">
        <div class="hd">热门品牌推荐</div>
         <!--{php $tagx=tag("moduleid=$moduleid&condition=status=3 and level=1 and thumb!=''&areaid=$cityid&pagesize=1&order=addtime desc&length=28&template=null");}-->
         {loop $tagx $i $r}
            <a class="banner" href="{$r[linkurl]}" target="_blank" title=""><img alt="{$r[alt]}" src="{$r[thumb]}" border="0" width="250" height="250"></a> {/loop}
    </div>

    <div class="news_brand">
        <div class="hd">最新品牌</div>
         <!--{php $tags=tag("moduleid=$moduleid&condition=status=3&areaid=$cityid&pagesize=5&order=addtime desc&length=40&template=null");}-->
        <ul class="clearfix">
        {loop $tags $i $t}
                <li>
                        <a href="{$t[linkurl]}" target="_blank">
                            <img src="{$t[thumb]}" width="50" height="50"/></a>
                    <p><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></p>
                    <em class="time">{timetodate($t[edittime], 5)}</em>
                </li>
                {/loop}  
               
        </ul>
       <span class="more2"><a href="{$MODULE[2][linkurl]}">我也要加入展示</a></span>
    </div>
</div>
    </div>
</div>
{if $content}<script type="text/javascript" src="{DT_STATIC}file/script/content.js"></script>{/if}
<script language="javascript">
  document.getElementById("outs").onmouseout=function(){//当鼠标滑出
	  document.getElementById("div1").style.display="none";	//改变div1的display属性  
	  }
  document.getElementById("outs").onmouseover=function(){  //当鼠标经过
	  document.getElementById("div1").style.display="block";  
	  }
	  
 document.getElementById("outs2").onmouseout=function(){//当鼠标滑出
	  document.getElementById("div2").style.display="none";	//改变div1的display属性  
	  }
  document.getElementById("outs2").onmouseover=function(){  //当鼠标经过
	  document.getElementById("div2").style.display="block";  
	  }
</script>

{template 'footer'}